package com.gosophia.commons.web.bean;

import org.apache.struts2.json.annotations.JSON;

/**
 * 
 * 功能：      页面ajax或表单提交后，给页面提供的返回结果类
 * @author renxuehui
 * @since  2010-12-30
 *  Copyright (c) 2010 Gosophia corporation All Rights Reserved
 */
public class RequestResult extends BaseJsonObject {
	/**
	 * 返回编码：0:没有任何问题  1:无数据  (其它待整理)
	 */
	private String rsltCode;
	
	/**
	 * 返回消息
	 */
	private String message;

	@JSON(name="result")
	public String getRsltCode() {
		return rsltCode;
	}

	public void setRsltCode(String rsltCode) {
		this.rsltCode = rsltCode;
	}

	@JSON(name="message")
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
